package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * notice
 * @author 
 */
@Data
public class Notice implements Serializable {
    private Integer id;

    private String noticetitle;

    private String noticetext;

    private String noticeimg;

    private Integer notice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createtime;

    private Integer plotid;

    private Plot plot;

    private static final long serialVersionUID = 1L;
}